
# constant part

SCALE_CHOICES = [
    ('GT', '超大型'),
    ('LG', '大型'),
    ('MD', '中型'),
    ('SM', '小型'),
]

# 行业领域
INDCHOICES = (
    ("ADVERTISING", "ADVERTISING"),
    ("AGRICULTURE", "AGRICULTURE"),
    ("APPAREL & ACCESSORIES", "APPAREL & ACCESSORIES"),
    ("AUTOMOTIVE", "AUTOMOTIVE"),
    ("BANKING", "BANKING"),
    ("BIOTECHNOLOGY", "BIOTECHNOLOGY"),
    ("BUILDING MATERIALS & EQUIPMENT", "BUILDING MATERIALS & EQUIPMENT"),
    ("CHEMICAL", "CHEMICAL"),
    ("COMPUTER", "COMPUTER"),
    ("EDUCATION", "EDUCATION"),
    ("ELECTRONICS", "ELECTRONICS"),
    ("ENERGY", "ENERGY"),
    ("ENTERTAINMENT & LEISURE", "ENTERTAINMENT & LEISURE"),
    ("FINANCE", "FINANCE"),
    ("FOOD & BEVERAGE", "FOOD & BEVERAGE"),
    ("GROCERY", "GROCERY"),
    ("HEALTHCARE", "HEALTHCARE"),
    ("INSURANCE", "INSURANCE"),
    ("LEGAL", "LEGAL"),
    ("MANUFACTURING", "MANUFACTURING"),
    ("PUBLISHING", "PUBLISHING"),
    ("REAL ESTATE", "REAL ESTATE"),
    ("SERVICE", "SERVICE"),
    ("SOFTWARE", "SOFTWARE"),
    ("SPORTS", "SPORTS"),
    ("TECHNOLOGY", "TECHNOLOGY"),
    ("TELECOMMUNICATIONS", "TELECOMMUNICATIONS"),
    ("TELEVISION", "TELEVISION"),
    ("TRANSPORTATION", "TRANSPORTATION"),
    ("VENTURE CAPITAL", "VENTURE CAPITAL"),
)
# 用户类别
TYPECHOICES = (
    ("用户", "CUSTOMER"),
    ("投资方", "INVESTOR"),
    ("合作伙伴", "PARTNER"),
    ("分销商", "RESELLER"),
)

ROLES = (
    ("ADMIN", "ADMIN"),
    ("USER", "USER"),
)

#机会来源
OPP_SOURCES = (
    ("电话", "Call"),
    ("邮件", "Email"),
    ("老客户介绍", "Existing Customer"),
    ("合作伙伴", "Partner"),
    ("媒体广告", "Media AD"),
    ('在线广告','Online AD'),
    ("促销活动", "Market Event"),
    ("其它", "Other"),
)

# 机会状态
OPP_STATUS_CHOICES = (
    ("新建", "New"),
    ("已分配", "Assigned"),
    ("挂起", "Pending"),
    ("关闭", "Closed"),
    ("拒绝", "Rejected"),
    ("重复", "Duplicate"),
)

PRIORITY_CHOICE = (
    ("低", "Low"),
    ("中", "Normal"),
    ("高", "High"),
    ("紧急", "Urgent"),
)

CASE_TYPE = (
    ("咨询", "Question"), 
    ("故障", "Incident"), 
    ("问题", "Problem")
    )

STAGES = (
    ("FIND OPPORTUNITY", "发现商机"),
    ("NEEDS ANALYSIS", "需求分析"),
    ("VALUE PROPOSITION", "初步建议"),
    ("PERCEPTION ANALYSIS", "深入分析"),
    ("PROPOSAL/PRICE QUOTE", "提案/报价"),
    ("NEGOTIATION/REVIEW", "谈判/审核"),
    ("BIDDING", "竞标"),
    ("CLOSED WON", "赢单"),
    ("CLOSED LOST", "输单"),
)

SOURCES = (
    ("NONE", "NONE"),
    ("CALL", "CALL"),
    ("EMAIL", " EMAIL"),
    ("EXISTING CUSTOMER", "EXISTING CUSTOMER"),
    ("PARTNER", "PARTNER"),
    ("PUBLIC RELATIONS", "PUBLIC RELATIONS"),
    ("CAMPAIGN", "CAMPAIGN"),
    ("WEBSITE", "WEBSITE"),
    ("OTHER", "OTHER"),
)

# 将dict转换为 List[Tuple] 类型的choices 
ACCOUNT_TYPE_CHOICES = [
    ('KEY_ACCOUNT', '关键客户'),
    ('MAJOR_ACCOUNT', '重要客户'),
    ('NORMAL_ACCOUNT', '普通客户'),
    ('SMALL_ACCOUNT', '小客户'),
    ('POTENTIAL_ACCOUNT', '潜在客户'),
]

INDUSTRY_CHOICES = [
    ('Software','软件技术'),
    ('Hardware','硬件技术'),
    ('Internet','互联网'),
    ('EBusiness','电商'),
    ('Finance','金融'),
    ('Manufacture','制造业'),
    ('Service','服务业'),
    ('Others','其他'),
]

